
package Nisha.polymorphism;

import java.lang.String;


public class polymorphismOverloading {
  
	
	public void sum(int a, int b)
	{
		
		System.out.println(a+b);
	}
	
	public void sum(double a, double b)
	{
		System.out.println(a+b);
	}
	
	public void sum(String a, String b)
	{
		System.out.println(a+b);
	}
	
	/*public static void main(String[] args)
	{
		polymorphismOverloading pt = new polymorphismOverloading();
		pt.sum("nisha ","tiwari");
	}*/
	
}
